package c.h.a.k0.a;

import android.hardware.SensorEvent;
import java.util.Objects;

/* compiled from: lambda */
public final /* synthetic */ class d implements Runnable {
    public final /* synthetic */ z a;
    public final /* synthetic */ SensorEvent b;

    public /* synthetic */ d(z zVar, SensorEvent sensorEvent) {
        this.a = zVar;
        this.b = sensorEvent;
    }

    public final void run() {
        z zVar = this.a;
        SensorEvent sensorEvent = this.b;
        Objects.requireNonNull(zVar);
        float[] fArr = sensorEvent.values;
        if (fArr[0] < -4.0f || fArr[0] > 4.0f) {
            zVar.Y.setImageResource(2131231117);
        } else {
            zVar.Y.setImageResource(2131231118);
        }
    }
}
